package cn.hairui.blog.mapper;

import cn.hairui.blog.model.Music;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * <h2>请添加说明
 * </h2>
 * <ol>请添加详细说明
 * </ol>
 *
 * <h2>修改历史
 * </h2>
 * <ol>如有修改，请添加修改历史
 * </ol>
 *
 * </p>
 *
 * @author laoganbu
 * @version V1.0
 * @date 2019/8/1 15:28
 */
@Mapper
public interface MusicMapper {

    @Select("SELECT * FROM MUSIC WHERE UID=#{uid}")
    List<Music> findByUid(Integer uid);
}
